package com.rcache.core.persistence.jobentity;

import com.distributed.netty.entity.JobType;
import com.rcache.core.Element;
import com.rcache.core.cache.Rcache;

/**
 * @Desc
 * @Author MrPeng
 * @TIME 2022/6/10 12:53
 **/
public class JobElementCache {

    private Rcache rcache;

    private Element element;

    private JobType jobType;

    public JobElementCache(Rcache rcache, Element element, JobType jobType) {
        this.rcache = rcache;
        this.element = element;
        this.jobType = jobType;
    }

    public Rcache getRcache() {
        return rcache;
    }

    public void setRcache(Rcache rcache) {
        this.rcache = rcache;
    }

    public Element getElement() {
        return element;
    }

    public void setElement(Element element) {
        this.element = element;
    }

    public JobType getJobType() {
        return jobType;
    }

    public void setJobType(JobType jobType) {
        this.jobType = jobType;
    }
}
